package com.ruoyi.bizsys.domain;

import java.math.BigDecimal;

import com.ruoyi.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提现异常对象 loan_order_error_log
 *
 * @author african-loan
 * @date 2021-12-30
 */

@Data
public class LoanOrderErrorLog extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * PK
     */

    @Excel(name = "${comment}", readConverterExp = "PK")
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 借款流水号
     */

    @Excel(name = "借款流水号")
    private String loanSerialNo;


    /**
     * 客户号
     */

    @Excel(name = "客户号")
    private String custNo;


    /**
     * 产品编码
     */

    @Excel(name = "产品编码")
    private String productCode;


    /**
     * 期数
     */

    @Excel(name = "期数")
    private Integer periodNum;


    /**
     * 单位
     */

    @Excel(name = "单位")
    private String unit;


    /**
     * 借款额度
     */

    @Excel(name = "借款额度")
    private BigDecimal loanAmt;


    /**
     * 放款银行账号
     */

    @Excel(name = "放款银行账号")
    private String accountNumber;


    /**
     * 期数
     */

    @Excel(name = "期数")
    private String tenor;


    /**
     * 贷款用途
     */

    @Excel(name = "贷款用途")
    private String loanPurpose;


    /**
     * 贷款用途其他
     */

    @Excel(name = "贷款用途其他")
    private String loanPurposeOther;


    /**
     * 异常编码
     */

    @Excel(name = "异常编码")
    private Long errCode;


    /**
     * 异常信息
     */

    @Excel(name = "异常信息")
    private String errMsg;


    /**
     * 异常详情
     */

    @Excel(name = "异常详情")
    private String errDetail;


    /**
     * 状态
     */

    @Excel(name = "状态")
    private String state;


    /**
     * 备注
     */

    @Excel(name = "备注")
    private String remark;


    /**
     * 创建时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "备注", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;


}